package lims.cloud.system.user;

import com.baomidou.mybatisplus.extension.toolkit.Db;

public class UserUtils {
    public static String getNameByUserName(String userName) {
        User user = Db.getOne(User.builder().username(userName).build());
        return user.getName();
    }
}
